//
//  XLChannelView.h
//  XLChannelControlDemo
//
//  Created by MengXianLiang on 2017/3/3.
//  Copyright © 2017年 MengXianLiang. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol XLChannelViewDelegate <NSObject>

-(void)didClickDeleteButtonWithIndex:(NSInteger)index;

@end

@interface XLChannelView : UIView

@property (nonatomic, strong) NSMutableArray *inUseTitles;

@property (nonatomic , assign) id<XLChannelViewDelegate> delegate;

-(void)reloadData;

-(void)changeDataSourceWithArray:(NSMutableArray *)array;

@end
